HDDS-1780. TestFailureHandlingByClient tests are flaky.#1073
HDDS-1780. TestFailureHandlingByClient tests are flaky.#1073bshashikant wants to merge 4 commits intoapache:trunkfrom
Conversation
|
💔 -1 overall
This message was automatically generated. |
|
/retest |
|
💔 -1 overall
This message was automatically generated. |
adoroszlai
left a comment
There was a problem hiding this comment.
Hi @bshashikant,
One of the tests in TestFailureHandlingByClient runs into error with the patch:
[ERROR] Tests run: 6, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 202.465 s <<< FAILURE! - in org.apache.hadoop.ozone.client.rpc.TestFailureHandlingByClient
[ERROR] testContainerExclusionWithClosedContainerException(org.apache.hadoop.ozone.client.rpc.TestFailureHandlingByClient) Time elapsed: 9.579 s <<< ERROR!
java.lang.IllegalArgumentException
at com.google.common.base.Preconditions.checkArgument(Preconditions.java:72)
at org.apache.hadoop.hdds.scm.XceiverClientManager.acquireClient(XceiverClientManager.java:150)
at org.apache.hadoop.hdds.scm.XceiverClientManager.acquireClientForReadData(XceiverClientManager.java:143)
at org.apache.hadoop.hdds.scm.storage.BlockInputStream.getChunkInfos(BlockInputStream.java:154)
at org.apache.hadoop.hdds.scm.storage.BlockInputStream.initialize(BlockInputStream.java:118)
at org.apache.hadoop.hdds.scm.storage.BlockInputStream.read(BlockInputStream.java:222)
at org.apache.hadoop.ozone.client.io.KeyInputStream.read(KeyInputStream.java:171)
at org.apache.hadoop.ozone.client.io.OzoneInputStream.read(OzoneInputStream.java:47)
Can you please check? Thanks.
(Note that TestFailureHandlingByClient is not run by the unit CI check, since it's part of the integration test.)
| totalDataFlushedLength = 0; | ||
| writtenDataLength = 0; | ||
| failedServers = Collections.emptyList(); | ||
| failedServers = new ArrayList<>(0); |
| break; | ||
| } catch (ExecutionException | InterruptedException | IOException e) { | ||
| LOG.debug("Failed to execute command " + request + " on datanode " + dn | ||
| LOG.info("Failed to execute command " + request + " on datanode " + dn |
There was a problem hiding this comment.
lets change this to error.
There was a problem hiding this comment.
Addressed in the latest patch.
hadoop-hdds/client/src/main/java/org/apache/hadoop/hdds/scm/XceiverClientGrpc.java
Outdated
Show resolved
Hide resolved
|
@adoroszlai , the test failure pointed is tracked by HDDS-1804 separately as the root cause for intermittent failure is same. |
|
💔 -1 overall
This message was automatically generated. |
mukul1987
left a comment
There was a problem hiding this comment.
+1, the latest changes look good to me.
…y Shashikant Banerjee. (#1073)
|
Thanks @mukul1987 @adoroszlai and @supratimdeka for the review. I have committed this change to trunk. |
SAMZA-2240:move samza-test to kafka 2.11-0.11
…y Shashikant Banerjee. (apache#1073)
No description provided.